﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace BigEndianExample
{
    class Program
    {
        static void Main(string[] args)
        {
            System.Text.Encoding encoding = System.Text.Encoding.Unicode;
            StreamReader reader =new StreamReader("textfile.txt",encoding);
            string line =reader.ReadLine();
            while(line!=null)
            {
                Console.WriteLine("{0}",line);
                line=reader.ReadLine();
            }
            Console.ReadLine() ;
        
        }
    }
}
